package yxy.cherry.data.bean;

import yxy.cherry.data.bean.model.DataClass;
import yxy.cherry.data.bean.model.DataType;

/**
 * @author wrs
 * 主公统御点数
 * @since 2022-08-08
 */
@DataType
public class skillpoint implements DataClass {

    public int id;
    public int minlevel;
    public int maxlevel;
    public int field;  // 增幅属性 1攻 2防御 3生命
    public int needpoint; //每级消耗点数
    public int attackscale; //攻击增幅 万分比
    public int pdefensescale; //防御增幅 万分比
    public int lifescale; //生命增幅 万分比
    public int costtype;
    public int costid;
    public int costnum;

    public int getId() {
        return id;
    }

    public int getMinlevel() {
        return minlevel;
    }

    public int getMaxlevel() {
        return maxlevel;
    }

    public int getField() {
        return field;
    }

    public int getNeedpoint() {
        return needpoint;
    }

    public int getAttackscale() {
        return attackscale;
    }

    public int getPdefensescale() {
        return pdefensescale;
    }

    public int getLifescale() {
        return lifescale;
    }

    public int getCosttype() {
        return costtype;
    }

    public int getCostid() {
        return costid;
    }

    public int getCostnum() {
        return costnum;
    }

    @Override
    public String getCode() {
        return String.valueOf(getId());
    }
}
